package com.mccrea.pattern.state;

/**
 * @Classname Client
 * @Description 状态模式测试
 * @Date 2021/5/24 0024 15:13
 * @Created by Mccrea_Gao
 */
public class Client {
    public static void main(String[] args) {
        ScoreContext sc = new ScoreContext();
        System.out.println("学生成绩变化");
        sc.add(30);
        sc.add(40);
        sc.add(30);
        sc.add(-25);
        sc.add(-30);

    }
}
